package cn.skyquant.quant4j.service.boot.model.fund;

import cn.skyquant.quant4j.sdk.enums.Status;
import cn.skyquant.quant4j.service.boot.model.account.Account;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FundRepository extends CrudRepository<Fund, Integer> {
    Fund findByAccount(Account account);
    List<Fund> findByStatus(Status status);
}
